/************************************************************************
  			Personne.java - Copyright kevin
**************************************************************************/

package classes;

import java.io.Serializable;
import java.text.DateFormat;

/**
 * Class Personne
 */
public class Employe implements Serializable {

  //
  // Fields
  //

  /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
/**
   * Numero d'identification unique
   */
	private DateFormat dateDeNaissance;
	private int idEmploye;
	private String civilite;
	private String nom;
	private String prenom;
	private String mail;
	private int contratHoraire;
	private String login;
	
	private String pwd;
	private int telephone;
	private String addresse;
	private int codePostal;
	private String ville;
	private int idContrat;
	private String status;
  // Constructors
  //
  public Employe (String tnom, String tprenom, String tmail, 
		  			String tmdp, int ttel, String tadresse, int tcp,
		  			String tville) 
  	{ 
	  this.setNom(tnom);
	  this.setPrenom(tprenom);
	  this.setMail(tmail);
	  this.setPwd(tmdp);
	  this.setTelephone(ttel);
	  this.setAddresse(tadresse);
	  this.setCodePostal(tcp);
	  this.setVille(tville);
	
  	}
  public Employe () 
  {
  }
  
  //
  // Methods
  //

  /*
 * Overrides toString
 */
  public String toString ()
  {
	  return "n°" + idEmploye + "  " + nom + "\t" + prenom;
  }

  //
  // Accessor methods
  //

  /**
   * Set the value of id
   * Numero d'identification unique
   * @param newVar the new value of id
   */
  public void setIdEmploye (int newVar) {
    idEmploye = newVar;
  }

  /**
   * Get the value of id
   * Numero d'identification unique
   * @return the value of id
   */
  public int getIdEmploye () {
    return idEmploye;
  }

  /**
   * Set the value of nom
   * @param newVar the new value of nom
   */
  public void setNom (String newVar) {
    nom = newVar;
  }

  /**
   * Get the value of nom
   * @return the value of nom
   */
  public String getNom () {
    return nom;
  }

  /**
   * Set the value of prenom
   * @param newVar the new value of prenom
   */
  public void setPrenom (String newVar) {
    prenom = newVar;
  }

  /**
   * Get the value of prenom
   * @return the value of prenom
   */
  public String getPrenom () {
    return prenom;
  }

  /**
   * Set the value of mail
   * @param newVar the new value of mail
   */
  public void setMail (String newVar) {
    mail = newVar;
  }

  /**
   * Get the value of mail
   * @return the value of mail
   */
  public String getMail () {
    return mail;
  }

  /**
   * Set the value of motDePasse
   * @param newVar the new value of motDePasse
   */
  public void setPwd (String newVar) {
    pwd = newVar;
  }

  /**
   * Get the value of motDePasse
   * @return the value of motDePasse
   */
  public String getPwd () {
    return pwd;
  }

  /**
   * Set the value of telephone
   * @param newVar the new value of telephone
   */
  public void setTelephone (int newVar) {
    telephone = newVar;
  }

  /**
   * Get the value of telephone
   * @return the value of telephone
   */
  public int getTelephone () {
    return telephone;
  }

  /**
   * Set the value of dateDeNaissance
   * @param newVar the new value of dateDeNaissance
   */
 public void setDateDeNaissance (DateFormat newVar) {
    dateDeNaissance = newVar;
  }

  /**
   * Get the value of dateDeNaissance
   * @return the value of dateDeNaissance
   */
  public DateFormat getDateDeNaissance () {
	  return dateDeNaissance;
  }

  /**
   * Set the value of adresse
   * @param newVar the new value of adresse
   */
  public void setAddresse (String newVar) {
    addresse = newVar;
  }

  /**
   * Get the value of adresse
   * @return the value of adresse
   */
  public String getAddresse () {
    return addresse;
  }

  /**
   * Set the value of codePostal
   * @param newVar the new value of codePostal
   */
  public void setCodePostal (int newVar) {
    codePostal = newVar;
  }

  /**
   * Get the value of codePostal
   * @return the value of codePostal
   */
  public int getCodePostal () {
    return codePostal;
  }

  /**
   * Set the value of ville
   * @param newVar the new value of ville
   */
  public void setVille (String newVar) {
    ville = newVar;
  }

  /**
   * Get the value of ville
   * @return the value of ville
   */
  public String getVille () {
    return ville;
  }

  /**
   * Set the value of sexe
   * @param newVar the new value of sexe
   */
  public void setCivilite (String newVar) {
    civilite = newVar;
  }

  /**
   * Get the value of sexe
   * @return the value of sexe
   */
  public String getCivilite () {
    return civilite;
  }

  
public int getContratHoraire() {
	return contratHoraire;
}
public void setContratHoraire(int contratHoraire) {
	this.contratHoraire = contratHoraire;
}
public int getIdContrat() {
	return idContrat;
}
public void setIdContrat(int idContrat) {
	this.idContrat = idContrat;
}
public String getLogin() {
	return login;
}
public void setLogin(String login) {
	this.login = login;
}
public String getStatus() {
	return status;
}
public void setStatus(String statut) {
	this.status = statut;
}


  //
  // Other methods
  //

}
